using BusinessLogic.BusinessEntity.Entities;
using Common.Tests;

namespace BusinessLogic.Managers.Tests.Models
{
	public class AccountModel
	{
		public static Account Create()
		{
			var account = new Account();

			account.Accountee = TestObjectGenerator.CreateRandomEntity<User>();
			account.Balance = TestHelper.RandomDecimal;
			account.Currency = TestObjectGenerator.CreateRandomEntity<Currency>();
			account.Number = TestHelper.Random.Next().ToString();

			return account;
		}
	}
}